<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Home extends MY_Controller {

    function __construct() {
        parent::__construct();
        $subdomain_arr = explode('.', $_SERVER['HTTP_HOST'], 2);
        $subdomain_name = $subdomain_arr[0];
        log_message('error', "PRUEBAAAA: ".$subdomain_name);
        $this->lang->load('ini_' . $this->config->item('language'), $this->config->item('language'));
    }
    
    public function index() {
        $this->css[] = "camera.css";
        $this->javascript2[] = "camera/camera.min.js";
        $this->javascript2[] = "camera/setting.js";
        $this->javascript2[] = "jquery.easing.1.3.js";
        
        $this->_render('home');
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */